package com.lyy.lottery.controller.param;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginParam extends UserLoginParam{
    //手机或邮箱
    @NotBlank(message = "手机或邮箱不能为空")
    private String loginName;
    //密码
    @NotBlank(message = "手机或邮箱不能为空")
    private String password;
}
